.main {
    width: 100%;
    min-height: 100%;
    padding-top: 1rem;
    // 返回顶部
    .toTop {
        width: 1rem;
        height: 2rem;
        position: fixed;
        right: -1rem;
        bottom: 2rem;
        z-index: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        transition: right 0.5s ease 0s;
        div {
            width: 100%;
            height: 0.92rem;
            border-radius: 0.15rem 0 0 0.15rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: linear-gradient(90deg, rgb(255, 119, 166) 0%, rgb(252, 166, 124) 49%, rgb(225, 143, 234) 100%);
        }
        i {
            color: white;
        }
        p {
            color: white;
            font-size: 0.18rem;
        }
        span {
            display: inline-block;
            width: 0.9rem;
            height: 0.9rem;
            background: rgba(0, 0, 0, 0.4);
            border-radius: 50%;
            line-height: 0.9rem;
            text-align: center;
            i {
                font-size: 0.28rem;
            }
        }
    }
    // 滑动过度
    .toTopShow {
        right: 0rem;
        transition: right 0.5s ease 0s;
    }
    // 头部滑动过度
    .headerHide {
        transform: translateY(-1.01rem);
        transition: all 0.5s ease 0s;
    }
    // 头部
    .header {
        width: 100%;
        height: 1rem;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 5;
        transition: all 0.5s ease 0s;
        // 下载app
        .headerTop {
            height: 1rem;
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding: 0 0.2rem;
            box-sizing: border-box;
            background: linear-gradient(90deg, rgb(255, 119, 166) 0%, rgb(252, 166, 124) 49%, rgb(225, 143, 234) 100%);
            img {
                width: 0.7rem;
                height: 0.7rem;
                border-radius: 0.2rem;
            }
            div {
                width: 55%;
                height: 0.7rem;
                p {
                    position: relative;
                    left: -0.1rem;
                    color: white;
                    text-align: left;
                    span {
                        color: black;
                    }
                }
                p:last-child {
                    font-size: 0.2rem;
                }
            }
            div:last-child {
                width: 1.5rem;
                height: 0.5rem;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 0.26rem;
                border-radius: 0.4rem;
                background: rgb(255, 220, 113);
                color: rgb(255, 55, 113);
            }
        }

        // 返回按钮
        .back {
            position: relative;
            bottom: -0.1rem;
            left: 0.3rem;
            z-index: 6;
            width: 0.6rem;
            height: 0.6rem;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(0, 0, 0, 0.3);
            i {
                color: white;
            }
        }
        .backHide {
            transition: all 0.5s ease 0s;
            position: relative;
            bottom: -0.1rem;
            left: 0.3rem;
            z-index: 6;
            width: 0.6rem;
            height: 0.6rem;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: white;
            i {
                color: black;
            }
        }
    }

    // 轮播图框
    .bannerBox {
        width: 100%;
        height: 8.7rem;
        // background-color: skyblue;
        .banner {
            width: 100%;
            height: 7.5rem;
            position: relative;
            a {
                position: absolute;
                z-index: 10;
                background: rgba(0, 0, 0, 0.3);
                bottom: 0.5rem;
                right: 0.3rem;
                padding: 0.3rem;
                border-radius: 50%;
                i {
                    color: white;
                    font-size: 0.4rem;
                }
            }
        }
        .goodsPrice {
            width: 100%;
            height: 1.2rem;
            background: linear-gradient(90deg, rgba(252, 59, 114, 0.78) 0%, rgba(252, 59, 114, 1) 100%);
            padding: 0 0.2rem;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            div {
                display: flex;
                justify-content: flex-start;
                align-items: flex-end;
                p,
                span {
                    color: white;
                }
                .price {
                    font-size: 0.55rem;
                    span {
                        font-size: 0.3rem;
                    }
                }
                .priceY {
                    padding: 0.05rem 0.2rem;

                    span:first-child {
                        text-decoration: line-through;
                    }
                    span:last-child {
                        background: rgba(69, 69, 69, 0.1);
                        border-radius: 0.1rem;
                        padding: 0.05rem;
                        font-size: 0.26rem;
                        margin-left: 0.1rem;
                        text-decoration: none;
                    }
                }
            }
        }
    }
    // 导航
    .navBox {
        width: 100%;
        height: 0.82rem;
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 3;
        background-color: white;
        ul {
            width: 4.2rem;
            height: 100%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            li {
                display: flex;
                justify-content: center;
                align-items: center;
                height: 100%;
                border-bottom: white solid 1px;
            }
            .navChange {
                color: $textPink;
                border-bottom: $textPink solid 1px;
            }
        }

        a {
            position: absolute;
            right: 0.3rem;
        }
    }

    // 内容
    .content {
        width: 100%;
        background-color: $mainBag;
        padding-bottom: 1rem;
        // 商品信息
        .goodsIntroduce {
            width: 100%;
            padding: 0 0.2rem;
            background-color: white;
            p {
                text-align: left;
            }
            .goodsName {
                width: 100%;
                font-size: 0.32rem;
                padding-top: 0.2rem;
                padding-bottom: 0.05rem;
            }
            .intro {
                font-size: 0.24rem;
                color: #5e6c84;
            }
            a {
                display: inline-block;
                width: 100%;
                text-align: left;
                padding: 0.1rem 0;
                color: #3446f4;
            }
        }
        //   领券
        .coupon {
            margin: 0.2rem 0;
            padding: 0 0.2rem;
            background-color: white;
            .couponList {
                width: 100%;
                height: 0.9rem;
                display: flex;
                justify-content: space-between;
                align-items: center;
                .couponCon {
                    width: 80%;
                    height: 100%;
                    display: flex;
                    align-items: center;
                    .collar {
                        font-size: 0.24rem;
                        margin-left: 0.1rem;
                        padding: 0.1rem 0.2rem;
                        border-radius: 0.5rem;
                        color: $textPink;
                        background: rgba(253, 57, 113, 0.1);
                    }
                    span {
                        display: inline-block;
                        border: $textPink solid 0.01rem;
                        color: $textPink;
                        border-radius: 0.2rem;
                        padding: 0 0.15rem;
                        font-size: 0.24rem;
                    }
                    .promotion {
                        width: 80%;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        font-size: 0.24rem;
                        color: $textColor;
                        padding-left: 0.1rem;
                    }
                }
            }
        }
        // 产品参数
        .parameter {
            padding: 0 0.2rem;
            background-color: white;
            div {
                height: 0.8rem;
                display: flex;
                align-items: center;
                justify-content: space-between;
                .parCent {
                    display: inline-block;
                    width: 80%;
                    text-align: left;
                    font-size: 0.26rem;
                    color: $navGrey;
                }
            }
        }
        // 省心配
        .match {
            margin: 0.2rem 0;
            padding: 0 0.2rem;
            background-color: white;
        }
        // 评价
        .evaluate {
            padding: 0 0.2rem;
            background-color: white;
            .evaHade {
                width: 100%;
                height: 0.64rem;
                display: flex;
                align-items: center;
                margin: 0.3rem 0;
                img {
                    width: 0.5rem;
                    height: 0.5rem;
                }
                .evaHadeTitle {
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    align-items: flex-start;
                    padding-left: 0.2rem;
                    p {
                        font-size: 0.26rem;
                    }
                    i {
                        font-size: 0.15rem;
                        color: $textPink;
                    }
                }
            }
            .evaText {
                font-size: 0.26rem;
                text-align: left;
            }
        }
        // 秀图
        .pictures {
            margin: 0.2rem 0;
            padding: 0 0.2rem;

            background-color: white;
            .picCont {
                width: 100%;

                display: flex;
                padding-top: 0.2rem;
                .picImg {
                    margin-left: 0.2rem;
                    width: 1.6rem;
                    height: 1.6rem;
                    overflow: hidden;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    img {
                        width: 1.6rem;
                        height: auto;
                    }
                }
            }
        }
        // 图文详情
        .imgTextDetails {
            padding: 0 0.2rem;
            background-color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            img {
                width: 100%;
                height: auto;
                margin: 0;
                padding: 0;
                border: none;
                display: block;
            }
        }
        // 小标题
        .zTitle {
            width: 100%;
            height: 0.8rem;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            i {
                margin: 0 0.05rem;
                width: 0.05rem;
                height: 0.25rem;
                display: inline-block;
                background: linear-gradient(310deg, rgba(252, 112, 134, 1) 0%, rgba(254, 147, 162, 1) 100%);
            }
        }
        .evaluateTitle {
            width: 100%;
            height: 0.7rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            .select {
                font-size: 0.26rem;
                color: $mainPink;
            }
            .evaH {
                width: 50%;
                text-align: left;
                font-size: 0.26rem;
                color: $navGrey;
                span {
                    color: $textPink;
                }
            }
        }
        // 中标题
        .cTitle {
            height: 0.8rem;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            i {
                margin: 0 0.1rem;
                width: 0.1rem;
                height: 0.32rem;
                background: linear-gradient(310deg, rgba(252, 112, 134, 1) 0%, rgba(254, 147, 162, 1) 100%);
                display: inline-block;
            }
        }
        .problem {
            width: 100%;
            height: 0.4rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            span {
                font-size: 0.22rem;
                color: $mainGrey;
            }
            i {
                margin: 0 0.05rem;
            }
        }
    }

    .ejectHide {
        display: none;
    }
    // 弹框显示
    .ejectBox {
        position: fixed;
        z-index: 11;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        .ejectContentBox {
            width: 100%;
            height: 80%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            background-color: white;
            border-radius: 0.2rem 0.2rem 0 0;
            .ejectTitle {
                width: 100%;
                height: 0.8rem;
                display: flex;
                justify-content: center;
                align-items: center;
                border-bottom: 0.01rem solid #e1e1e1;
            }
            // 弹出内容
            .eject {
                width: 100%;
                height: 78%;
                overflow: auto;
                // background-color: skyblue;

                // 优惠券
                .ejeCoupon {
                    width: 100%;
                    padding: 0 0.3rem;
                    display: flex;
                    flex-direction: column;
                    align-items: center;

                    li {
                        margin-top: 0.2rem;
                        width: 6.7rem;
                        height: 1.86rem;
                        background-image: url(https://m.vsigo.cn/static/img/couponBg.png);
                        background-size: 100% 100%;
                        background-repeat: no-repeat;
                        padding: 0.2rem;
                        position: relative;
                        p {
                            width: 100%;
                            text-align: left;
                            color: $textPink;
                            font-size: 0.26rem;
                            span {
                                font-size: 0.5rem;
                            }
                        }
                        div {
                            position: absolute;
                            right: 0;
                            top: 0;
                            height: 100%;
                            width: 1.42rem;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            font-size: 0.3rem;
                            color: $textPink;
                            border-left: $textPink dashed 0.02rem;
                        }
                    }
                }

                // 活动
                .ejeActivity {
                    width: 100%;
                    padding: 0 0.2rem;
                    li {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        p {
                            position: relative;
                            width: 100%;
                            color: $navGrey;
                            text-align: left;
                            padding-left: 0.8rem;
                            span {
                                position: absolute;
                                left: 0;
                                padding: 0.05rem 0.1rem;
                                border: $textPink solid 0.01rem;
                                border-radius: 0.1rem;
                                color: $textPink;
                                margin: 0 0.2rem;
                            }
                        }
                        .ejeActCont {
                            display: flex;
                            div {
                                display: flex;
                                flex-direction: column;
                                align-items: center;
                            }
                        }
                    }
                }

                // 参数
                .ejeParameter {
                    width: 100%;
                    li {
                        width: 100%;
                        padding: 0.2rem 0;
                        display: flex;
                        justify-content: flex-start;
                        align-items: center;
                        span {
                            display: inline-block;
                            width: 30%;
                            color: $navGrey;
                            text-align: left;
                            padding-left: 0.5rem;
                        }
                        p {
                            font-size: 0.26rem;
                            width: 70%;
                            text-align: left;
                        }
                    }
                }
            }
            .isok {
                margin-bottom: 0.2rem;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 0.32rem;
                width: 90%;
                height: 0.8rem;
                border-radius: 30px;
                color: #fff;
                background: linear-gradient(90deg, rgba(252, 59, 114, 0.78) 0%, rgba(252, 59, 114, 1) 100%);
            }
            .goodsImg {
                width: 100%;
                height: 1.96rem;
                display: flex;
                align-items: flex-end;
                padding: 0.2rem;
                position: relative;
                background-color: white;
                img {
                    width: 1.64rem;
                    height: 1.64rem;
                }
                p {
                    font-size: 0.24rem;
                    color: $textPink;
                    span {
                        font-size: 0.35rem;
                        color: $textPink;
                        font-weight: bold;
                    }
                }
                i {
                    position: absolute;
                    top: 0.2rem;
                    right: 0.2rem;
                }
            }
            .ejectContentz {
                width: 100%;
                height: 80%;
                overflow: auto;
                padding-bottom: 1rem;
                // 颜色选择
                .goodsColor {
                    width: 100%;
                    padding: 0.2rem;
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    p {
                        // background-color: skyblue;
                    }
                    ul {
                        width: 100%;
                        display: flex;
                        flex-wrap: wrap;
                        li {
                            background: rgba(182, 189, 199, 0.3);
                            padding: 0.05rem 0.2rem;
                            display: flex;
                            align-items: center;
                            border-radius: 0.2rem;
                            margin: 0.1rem;
                            border: 0.01rem solid rgba(182, 189, 199, 0.3);
                            img {
                                width: 0.32rem;
                                height: 0.32rem;
                                margin-right: 0.1rem;
                            }
                            span {
                                color: rgba(23, 43, 77, 1);
                            }
                        }
                    }
                }
                // 度数选择
                .degrees {
                    width: 100%;
                    padding: 0.2rem;
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    div {
                        width: 100%;
                        display: flex;
                        flex-wrap: wrap;
                        p {
                            padding: 0.1rem 0.2rem;
                            margin-top: 0.2rem;
                            margin-right: 0.2rem;
                            background: rgba(246, 247, 248, 1);
                            color: #8691a2;
                            border: 0.01rem solid rgba(246, 247, 248, 1);
                            border-radius: 0.3rem;
                        }
                        p:first-child {
                            width: 98%;
                           
                            
                            // margin: auto 50%;
                        }
                    }
                }
            }
            // 加入购物车
            .ejeAddCart {
                position: fixed;
                bottom: 0;
                left: 0;
                width: 100%;
                padding: 0 0.2rem;
                height: 1rem;
                display: flex;
                align-items: center;
                justify-content: space-between;
                background-color: white;
                .addCartBtn {
                    width: 3rem;
                    height: 0.8rem;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border-radius: 0.4rem;
                    font-size: 0.3rem;
                    color: white;
                    background: linear-gradient(90deg, rgba(252, 59, 114, 0.78) 0%, rgba(252, 59, 114, 1) 100%);
                }
                div {
                    display: flex;
                    position: relative;
                    left: -8%;
                    p {
                        width: 0.6rem;
                        height: 0.6rem;
                        background: RGBA(246, 247, 248, 1);
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        margin-left: 0.02rem;
                    }
                    p:nth-child(2) {
                        width: 0.8rem;
                    }
                }
            }
            .typeChang {
                border: 0.01rem solid rgba(253, 57, 113, 1) !important;
                color: $textPink !important;
                background: rgba(253, 57, 113, 0.08) !important;
                span {
                    color: $textPink !important;
                }
            }
        }
    }
    // 底部
    .footer {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 0.1rem;
        background-color: white;
        div {
            width: 42%;
            display: flex;
            justify-content: space-around;
            align-items: center;
            p {
                color: $textColorT;
                font-size: 0.26rem;
            }
            i {
                color: $textColorT;
            }
        }
        .addCart {
            width: 4.16rem;
            height: 0.8rem;
            border-radius: 0.5rem;
            font-size: 0.32rem;
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(90deg, rgba(252, 59, 114, 0.78) 0%, rgba(252, 59, 114, 1) 100%);
        }
    }
}
